package TestPoker;

import static org.junit.Assert.*;

import java.util.Vector;

import org.junit.Test;

import Poker.*;

public class TestAccount {

	@Test
	public void testSetCards() {
		Vector<Card> cards = new Vector<Card>();
		Card card = new Card(1,1);
		cards.add(card);
		Account a = new Account("Human", "human");
		a.SetCards(cards);
		
		assertEquals(a.GetCards().get(0), card);
	}

	@Test
	public void testGetScore() {
		Vector<Card> cards = new Vector<Card>();
		Card card = new Card(1,1);
		cards.add(card);
		Account a = new Account("Human", "human");
		a.SetCards(cards);
		
		assertEquals(a.GetCards().get(0), card);
	}

	@Test
	public void testEquals() {
		Account a = new Account();
		Account b = new Account();
		assertNotEquals(a,b);
	}
}
